package be.ipl.finito.daoimpl;

import javax.ejb.Stateless;

import be.ipl.finito.dao.JetonDao;
import be.ipl.finito.domaine.Jeton;

@Stateless
@SuppressWarnings("serial")
public class JetonDaoImpl extends DaoImpl<Integer, Jeton>implements JetonDao {

	@Override
	public Jeton chercherJeton(int numero) {
		
		return this.recherche("SELECT j FROM Jeton j WHERE j.numero= ?1", numero);
	}

}
